# Maintainer: Willow Barraco <contact@willowbarraco.fr>
pkgname=fyi
pkgver=1.0.4
pkgrel=0
pkgdesc="A notify-send alternative"
url="https://codeberg.org/dnkl/fyi"
arch="all"
license="MIT"
makedepends="meson ninja scdoc dbus-dev"
subpackages="
	$pkgname-doc
	$pkgname-bash-completion
	$pkgname-fish-completion
"
options="!check"
source="
	$pkgname-$pkgver.tar.gz::https://codeberg.org/dnkl/fyi/archive/$pkgver.tar.gz
"
builddir="$srcdir/fyi"

build() {
	abuild-meson -Ddocs=enabled build
	meson compile -C build
}

package() {
	meson install -C build --no-rebuild --destdir "$pkgdir"
}

sha512sums="
f6d22cdd8bdbbf6cac4fd00f831b110c98af3510864ffa1b473fa706403daf300405fcc4e582ef5c709e40c43cb359a3f38941e9229631a1c683054e829b96fd  fyi-1.0.4.tar.gz
"
